﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tippelde.Services.Dtos
{
    public class TeamHeaderData
    {
        public int Id { get; set; }
        [Display(Name="Név")]
        [Required]
        public string Name { get; set; }
        [Display(Name = "Rövidítés")]
        [Required]
        [MaxLength(6, ErrorMessage="A {0} Legfeljebb {1} hosszú lehet")]
        public string ShortName { get; set; }
        [Display(Name = "Leírás")]
        public string Description { get; set; }
        [Display(Name = "Logo URL")]
        [Required]
        public string LogoUrl { get; set; }
        [Display(Name="Nemzeti Csapat")]
        public bool IsNational { get; set; }
    }
}
